package com.sky.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 菜品库存
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DishInventory implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    //菜品id
    private Long dishId;

    //菜品名称
    private String dishName;

    //库存数量
    private Integer stock;

    //创建时间
    private LocalDateTime createTime;

    //修改时间
    private LocalDateTime updateTime;
}
